package src.com.itheima.mapper;

import com.itheima.domain.Student;
import org.apache.ibatis.annotations.Select;

public interface StudentMapper {
        @Select("SELECT *  FROM classes c , student s WHERE c.cid=s.cid")
        Student findByCid(int id);

}
